Includes APIs supported by GigE vision devices. More...
Functions | |
| def | MV_GIGE_SetEnumDevTimeout (nMilTimeout) |
| Sets enumeration timeout duration, range: [1, UINT_MAX). More... | |
| def | MV_GIGE_ForceIpEx (self, nIP, nSubNetMask, nDefaultGateWay) |
| Sets device network parameters forcefully, including IP address, subnet mask, and default gateway. More... | |
| def | MV_GIGE_SetIpConfig (self, nType) |
| Configures IP mode. More... | |
| def | MV_GIGE_SetNetTransMode (self, nType) |
| Sets SDK internal priority network mode. More... | |
| def | MV_GIGE_GetNetTransInfo (self, pstInfo) |
| Gets network transmission information. More... | |
| def | MV_GIGE_SetDiscoveryMode (nMode) |
| Sets the ACK mode of enumeration command. More... | |
| def | MV_GIGE_SetGvspTimeout (self, nMillisec) |
| Sets the timeout duration for image grabbing via GVSP. More... | |
| def | MV_GIGE_GetGvspTimeout (self, pnMillisec) |
| Gets the timeout duration of image grabbing via GVSP. More... | |
| def | MV_GIGE_SetGvcpTimeout (self, nMillisec) |
| Sets timeout duration for GVCP command. More... | |
| def | MV_GIGE_GetGvcpTimeout (self, pnMillisec) |
| Gets timeout duration for GVCP command. More... | |
| def | MV_GIGE_SetRetryGvcpTimes (self, nRetryGvcpTimes) |
| Sets the number of times for resending GVCP command. More... | |
| def | MV_GIGE_GetRetryGvcpTimes (self, pnRetryGvcpTimes) |
| Gets the number of times for resending GVCP command. More... | |
| def | MV_CC_GetOptimalPacketSize (self) |
| Gets the optimal packet size. More... | |
| def | MV_GIGE_SetResend (self, bEnable, nMaxResendPercent=100, nResendTimeout=50) |
| Sets whether to enable packet resending, and sets corresponding parameters. More... | |
| def | MV_GIGE_SetResendMaxRetryTimes (self, nRetryTimes) |
| Sets the maximum command resending times. More... | |
| def | MV_GIGE_GetResendMaxRetryTimes (self, nRetryTimes) |
| Gets the maximum command resending times. More... | |
| def | MV_GIGE_SetResendTimeInterval (self, nMillisec) |
| Sets the time interval of two resending requests for one packet. More... | |
| def | MV_GIGE_GetResendTimeInterval (self, nMillisec) |
| Gets the time interval of two resending requests for one packet. More... | |
| def | MV_GIGE_SetTransmissionType (self, stTransmissionType) |
| Sets the transmission mode, including unicast and multicast. More... | |
| def | MV_GIGE_IssueActionCommand (pstActionCmdInfo, pstActionCmdResults) |
| Sends action commands. More... | |
| def | MV_GIGE_GetMulticastStatus (pstDevInfo, pbStatus) |
| Gets the multicast status. More... | |
Includes APIs supported by GigE vision devices.
| def MvCameraControl_class.MV_GIGE_SetEnumDevTimeout | ( | nMilTimeout | ) |
Sets enumeration timeout duration, range: [1, UINT_MAX).
| nMilTimeout | [IN] It refers to the timeout duration. and it should be an integer without symbols. The default value is 100 ms. |
| def MvCameraControl_class.MV_GIGE_ForceIpEx | ( | self, | |
| nIP, | |||
| nSubNetMask, | |||
| nDefaultGateWay | |||
| ) |
Sets device network parameters forcefully, including IP address, subnet mask, and default gateway.
| handle | [IN] It refers to the device handle. |
| nIP | [IN] It refers to the IP address to be set. |
| nSubNetMask | [IN] It refers to the subnet mask. |
| nDefaultGateWay | [IN] It refers to the default gateway. |
| def MvCameraControl_class.MV_GIGE_SetIpConfig | ( | self, | |
| nType | |||
| ) |
Configures IP mode.
| handle | [IN] It refers to the device handle. | ||||||||||||
| nType | [IN] It refers to the IP type. See MV_IP_CFG_x for details.
|
| def MvCameraControl_class.MV_GIGE_SetNetTransMode | ( | self, | |
| nType | |||
| ) |
Sets SDK internal priority network mode.
| handle | [IN] It refers to the device handle. | |||||||||
| nType | [IN] It refers to the network transmission mode. See MV_NET_TRANS_x for details.
|
| def MvCameraControl_class.MV_GIGE_GetNetTransInfo | ( | self, | |
| pstInfo | |||
| ) |
Gets network transmission information.
| handle | [IN] It refers to the device handle. |
| pstInfo | [IN][OUT] It refers to the network transmission information structure. |
| def MvCameraControl_class.MV_GIGE_SetDiscoveryMode | ( | nMode | ) |
Sets the ACK mode of enumeration command.
| nMode | [IN] It refers to the ACK mode (default broadcast). 0: unicast; 1: broadcast. |
| def MvCameraControl_class.MV_GIGE_SetGvspTimeout | ( | self, | |
| nMillisec | |||
| ) |
Sets the timeout duration for image grabbing via GVSP.
| handle | [IN] It refers to the device handle. |
| nMillisec | [IN] It refers to the timeout duration (300 ms by default), range: [10, UNIT_MAX), unit: millisecond. |
| def MvCameraControl_class.MV_GIGE_GetGvspTimeout | ( | self, | |
| pnMillisec | |||
| ) |
Gets the timeout duration of image grabbing via GVSP.
| handle | [IN] It refers to the device handle. |
| pnMillisec | [IN][OUT] It refers to the pointer to timeout duration, unit: millisecond. |
| def MvCameraControl_class.MV_GIGE_SetGvcpTimeout | ( | self, | |
| nMillisec | |||
| ) |
Sets timeout duration for GVCP command.
| handle | [IN] It refers to the device handle. |
| nMillisec | [IN] It refers to the timeout duration (500 ms by default), range: [0, 10000], unit: millisecond. |
| def MvCameraControl_class.MV_GIGE_GetGvcpTimeout | ( | self, | |
| pnMillisec | |||
| ) |
Gets timeout duration for GVCP command.
| handle | [IN] It refers to the device handle. |
| pnMillisec | [IN][OUT] It refers to the pointer to timeout duration, unit: millisecond. |
| def MvCameraControl_class.MV_GIGE_SetRetryGvcpTimes | ( | self, | |
| nRetryGvcpTimes | |||
| ) |
Sets the number of times for resending GVCP command.
| handle | [IN] It refers to the device handle. |
| nRetryGvcpTimes | [IN] It refers to the number of times for resending, range: [0, 100]. |
| def MvCameraControl_class.MV_GIGE_GetRetryGvcpTimes | ( | self, | |
| pnRetryGvcpTimes | |||
| ) |
Gets the number of times for resending GVCP command.
| handle | [IN] It refers to the device handle. |
| pnRetryGvcpTimes | [IN][OUT] It refers to the pointer to resending times. |
| def MvCameraControl_class.MV_CC_GetOptimalPacketSize | ( | self | ) |
Gets the optimal packet size.
| handle | [IN] It refers to the device handle. |
| def MvCameraControl_class.MV_GIGE_SetResend | ( | self, | |
| bEnable, | |||
nMaxResendPercent = 100, |
|||
nResendTimeout = 50 |
|||
| ) |
Sets whether to enable packet resending, and sets corresponding parameters.
| handle | [IN] It refers to the device handle. |
| bEnable | [IN] Whether to enable packet resending. |
| nMaxResendPercent | [IN] It refers to the maximum resending percent. |
| nResendTimeout | [IN] It refers to the resending timeout duration, range: [0, 10000], unit: millisecond. |
| def MvCameraControl_class.MV_GIGE_SetResendMaxRetryTimes | ( | self, | |
| nRetryTimes | |||
| ) |
Sets the maximum command resending times.
| handle | [IN] It refers to the device handle. |
| nRetryTimes | [IN] It refers to the maximum command resending times, 20 by default. |
| def MvCameraControl_class.MV_GIGE_GetResendMaxRetryTimes | ( | self, | |
| nRetryTimes | |||
| ) |
Gets the maximum command resending times.
| handle | [IN] It refers to the device handle. |
| pnRetryTimes | [IN][OUT] It refers to the maximum command resending times. |
| def MvCameraControl_class.MV_GIGE_SetResendTimeInterval | ( | self, | |
| nMillisec | |||
| ) |
Sets the time interval of two resending requests for one packet.
| handle | [IN] It refers to the device handle. |
| nMillisec | [IN] It refers to the time interval of two resending requests for one packet. It is 10 ms by default. |
| def MvCameraControl_class.MV_GIGE_GetResendTimeInterval | ( | self, | |
| nMillisec | |||
| ) |
Gets the time interval of two resending requests for one packet.
| handle | [IN] It refers to the device handle. |
| pnMillisec | [IN][OUT] It refers to the time interval of two resending requests for one packet. |
| def MvCameraControl_class.MV_GIGE_SetTransmissionType | ( | self, | |
| stTransmissionType | |||
| ) |
Sets the transmission mode, including unicast and multicast.
| handle | [IN] It refers to the device handle. |
| stTransmissionType | [IN] It refers to the transmission mode structure. |
| def MvCameraControl_class.MV_GIGE_IssueActionCommand | ( | pstActionCmdInfo, | |
| pstActionCmdResults | |||
| ) |
Sends action commands.
| pstActionCmdInfo | [IN] It refers to the information of action commands. |
| pstActionCmdResults | [IN][OUT] It refers to the list of returned information about action commands. |
| def MvCameraControl_class.MV_GIGE_GetMulticastStatus | ( | pstDevInfo, | |
| pbStatus | |||
| ) |
Gets the multicast status.
| pstDevInfo | [IN] It refers to the device information structure. |
| pbStatus | [IN][OUT] It refers to the multicast status. true: multicast status, false: not multicast. |